package com.health.mapper;

import com.health.entity.UsersAccount;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UsersAccountMapper {
    UsersAccount getById(Long userId);


    List<UsersAccount> getAll() ;


    void svae(UsersAccount uAccount);

    void update(UsersAccount uAccount);
}
